package com.demo.design;

import java.util.concurrent.TimeUnit;

/**
 * @author: ling007
 * @date: 2024/8/27 17:30
 * @description:
 */
public interface CacheService {

    String get(final String key, int redisType);

    void set(String key, String value, int redisType);

    void set(String key, String value, long timeout, TimeUnit timeUnit, int redisType);

    void del(String key, int redisType);
}
